package com.sa.module.uif.service;

import java.util.Map;

public interface LoginRegistService {

	/**
	 * 登录
	 * 
	 * @param email
	 * @param password
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public String login(String email, String password, Map<String, Object> model)
			throws Exception;

	
	/**
	 * 退出登录
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public String logout(Map<String, Object> model) throws Exception;

	/**
	 * 注册
	 * 
	 * @param email
	 * @param password
	 * @param name
	 * @param mobile
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public String reg(String email, String password, Map<String, Object> model) throws Exception;

}
